package cn.zcib.tms.dao;

import cn.zcib.tms.model.Route;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RouteMapper {

    void addRoute(@Param("route") Route route);

    List<Route> findAllRoute();

    List<Route> findRouteByTypeId(@Param("type") String s,@Param("id") String id);
}